#-*-coding:utf-8-*-
import pymysql
import torch
import torch.nn.functional as F
import pickle
config={
    'host':'127.0.0.1',
    'port':3306,
    'user':"root",
    'password':'your_pwd', # 改成你的本地密码
    'database':'npu_edu_sys'
}
SCB="2021-12-03 12:03:12"###选课起始时间
SCE="'2022-12-30 12:03:12'"###选课结束时间
ALLOW_SC=True
Jwc_id='admin'
Jwc_passwd='admin'

if __name__=='__main__':
    input=torch.FloatTensor(([[[1,2,5,3],[2,3,4,6]]]))
    out=F.avg_pool1d(input,kernel_size=4)
    print(out)

